package cn.bob.pet.service;

import cn.bob.basic.utils.AjaxResult;
import cn.bob.basic.utils.PageList;
import cn.bob.org.domain.Employee;
import cn.bob.pet.dto.HandleDto;
import cn.bob.pet.domain.SearchMasterMsg;
import cn.bob.basic.service.IBaseService;
import cn.bob.pet.query.SearchMasterMsgQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bob
 * @since 2022-11-01
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    AjaxResult publish(SearchMasterMsg searchMasterMsg);

    PageList<SearchMasterMsg> toHandle(SearchMasterMsgQuery searchMasterMsg);

    void accept(HandleDto handleDto, Employee employee);

    void reject(Long msgId, Employee employee);

    PageList<SearchMasterMsg> toAudit(SearchMasterMsgQuery searchMasterMsg);

    PageList<SearchMasterMsg> pool(SearchMasterMsgQuery searchMasterMsg);

    PageList<SearchMasterMsg> finish(SearchMasterMsgQuery searchMasterMsg);
}
